home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MMMMAAAAGGGG((((6666DDDD)))) MMMMAAAAGGGG((((6666DDDD))))
-
-
-
- NNNNAAAAMMMMEEEE
- mag - pixel replication and magnification in a window
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////ssssbbbbiiiinnnn////mmmmaaaagggg [[[[iiiinnnntttteeeeggggeeeerrrr]]]]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _M_a_g copies and enlarges areas of the screen. The _m_a_g program demonstrates
- pixel reading and writing on the IRIS. The area of the screen copied is
- chosen by the user with the mouse. The power of magnification is an
- integer value which must be entered into the command line. If no integer
- is specified, the default value of the power of magnification is 2.
-
- Operator control of this demo is strictly with the mouse.
-
- Mouse buttons Function
-
- left pick area on screen under cursor
- right _m_a_g pop-up menu
-
- It is important to note that the program needs to maintain input focus
- when selecting a region under the cursor. This can be achieved by
- positioning the cursor in the _m_a_g window and then depressing
- either the Shift or Ctrl key. While continuing to hold the key, move
- the cursor to the desired location on the screen and click the Left
- mouse button.
-
- CCCCOOOOMMMMMMMMEEEENNNNTTTTSSSS
- Values of magnification greater than 2 significantly degrade the
- magnified image.
-
- Trying to magnify the _m_a_g window causes some inexplicable results.
-
- Sometimes, when the window manager is in double buffer mode, the area
- magnified appears in the wrong color. The _m_a_g program works best in
- single buffer mode.
-
- BBBBUUUUGGGGSSSS
- In release 4.0, there is a known problem with _m_a_g on VGX machines
- relating to the use of subpixel. The symptom is the initial appearance
- of a grid inside the _m_a_g window even when the popup menu item "grid off"
- is selected. The workaround for this is to change the line in the source
- for _m_a_g, located at /usr/people/4Dgifts/iristools/tools/_m_a_g._c that reads
-
- subpixel(1);
-
- to read
-
- subpixel(0);
-
- This is not the best solution but it will work. The problem here centers
- on old-style drawing commands like rectfi and point sampled polygons
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- MMMMAAAAGGGG((((6666DDDD)))) MMMMAAAAGGGG((((6666DDDD))))
-
-
-
- which are turned on with subpixel(1). This program will be revamped to
- not use rectfi and the math will consequently be "changed by one" as
- well.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-